package com.sdk.es.http.conts;

/**
 * @author limaosheng
 * @create 2023-08-15 16:39
 * @desc
 */
public class Conts {
    /**
     * TOPIC前缀
     */
    public static final String TOPIC_PREFIX = "Elasticsearch_SaaS_";
    /**
     * TOPIC后缀
     */
    public static final String TOPIC_SAVE_SUFFIX = "_save_topic";
    public static final String TOPIC_UPDATE_SUFFIX = "_update_topic";
    public static final String TOPIC_DELETE_SUFFIX = "_delete_topic";
    /**
     * _20*
     */
    public static final String ES_ALL = "_20*";
    public static final String ES_SPECIAL_ALL = "-20*";
    /**
     * 字符串查询不分词
     */
    public static final String ES_KEYWORD = ".keyword";
    /**
     * 模糊查询拼接
     */
    public static final String ES_LIKE = "*";
    /**
     * 分组名前缀
     */
    public static final String GROUP_BY_PREFIX = "esGroupBy";

    public static final String ES_R = "_";
    /**
     * 求和名前缀
     */
    public static final String SUM_PREFIX = "esSumBy";

    public static final String ID = "id";
}
